package com.eugenema.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 主控制器，程序主入口
 *
 * @author Eugenema
 * @date 2021/10/26 21:29
 */
@Controller
public class HomeController {
    @RequestMapping("/home")
    public String toHome(){
        System.out.println("project is running！");
        return "WEB-INF/jsp/index.jsp";
    }
}
